<?php

namespace app\model\user;

use think\Model;

/**
 * t_cart 购物车
 * @property integer $id 自增id(主键)
 * @property integer $user_id 用户id
 * @property integer $goods_id 商品id
 * @property mixed $goods_name 标题
 * @property mixed $image 封面图片
 * @property string $original_price 原价
 * @property string $price 销售价格
 * @property integer $num 购买数量
 * @property string $total_amount 总价
 * @property integer $sku_id 规格id
 * @property string $sku_name 规格值
 * @property string $create_time 创建时间
 * @property string $update_time 更新时间
 */
class Cart extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 't_cart';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $pk = 'id';

    
}
